<html>
<head><meta charset="utf-8"><title>libc 0.2.75 breaking rustc builds · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/libc.200.2E2.2E75.20breaking.20rustc.20builds.html">libc 0.2.75 breaking rustc builds</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="207491016"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/libc%200.2.75%20breaking%20rustc%20builds/near/207491016" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/libc.200.2E2.2E75.20breaking.20rustc.20builds.html#207491016">(Aug 20 2020 at 05:52)</a>:</h4>
<p>Something seems to be going wrong with rustc builds that pull in libc 0.2.75.</p>



<a name="207491017"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/libc%200.2.75%20breaking%20rustc%20builds/near/207491017" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/libc.200.2E2.2E75.20breaking.20rustc.20builds.html#207491017">(Aug 20 2020 at 05:52)</a>:</h4>
<div class="codehilite"><pre><span></span><code>error: cannot find derive macro `Copy` in this scope
   --&gt; /cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.75/src/unix/linux_like/linux/gnu/mod.rs:320:18
    |
320 |         #[derive(Copy,Clone)]
    |                  ^^^^
</code></pre></div>



<a name="207491025"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/libc%200.2.75%20breaking%20rustc%20builds/near/207491025" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/libc.200.2E2.2E75.20breaking.20rustc.20builds.html#207491025">(Aug 20 2020 at 05:52)</a>:</h4>
<p>I wrote that line in libc, so I'd like to track down why this is breaking.</p>



<a name="207491038"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/libc%200.2.75%20breaking%20rustc%20builds/near/207491038" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/libc.200.2E2.2E75.20breaking.20rustc.20builds.html#207491038">(Aug 20 2020 at 05:53)</a>:</h4>
<p>Why would it fail to derive <code>Copy</code> and <code>Clone</code>?</p>



<a name="207491090"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/libc%200.2.75%20breaking%20rustc%20builds/near/207491090" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/libc.200.2E2.2E75.20breaking.20rustc.20builds.html#207491090">(Aug 20 2020 at 05:54)</a>:</h4>
<p>And now I've found the bits in libc that very carefully get at Copy and Clone. OK, this is going to need a quick fix in libc.</p>



<a name="207499159"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/libc%200.2.75%20breaking%20rustc%20builds/near/207499159" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/libc.200.2E2.2E75.20breaking.20rustc.20builds.html#207499159">(Aug 20 2020 at 08:21)</a>:</h4>
<p>Fixed in libc 0.2.76.</p>



<a name="207499163"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/libc%200.2.75%20breaking%20rustc%20builds/near/207499163" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/libc.200.2E2.2E75.20breaking.20rustc.20builds.html#207499163">(Aug 20 2020 at 08:21)</a>:</h4>
<p>Thanks to <span class="user-mention" data-user-id="217081">@Yuki Okushi</span> for the quick release.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>